export const column = [
  {
    title: '序号',
    dataIndex: 'id',
    key: 'id',
  },
  {
    title: '角色名称',
    dataIndex: 'name',
    key: 'name'
  },
  {
    title: '角色描述',
    dataIndex: 'description',
    key: 'description',
  },
  {
    title: '是否启用',
    dataIndex: 'status',
    key: 'status',
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '创建人',
    dataIndex: 'staff',
    key: 'staff',
    scopedSlots: { customRender: 'staff' },
  },
  {
    title: '创建时间',
    dataIndex: 'created_at',
    key: 'created_at',
  },

  {
    title: '操作',
    dataIndex:'area_no',
    key:'area_no',
    scopedSlots: { customRender: 'area_no' }
  }
];
export const appendData = [
  {
    name:'角色名称',
    type:'input',
    val:'',
    must:true,
    place:'请输入角色名称',
    key:'name',
  },
  {
    name:'说明',
    type:'text',
    val:'',
    must:false,
    place:'请输入说明',
    key:'description',
  },
];
